/*! Copyright(c) 2008-2012
 *
 *\file		Uart_user.h
 *\brief		
 *\details	
 *
 *\author	Cai Peifeng
 *\version	
 *\date		28Jul12
 *
 *\warning	
 *
 *\history \arg	28Jul12, Cai Peifeng, Create the file
 */
#ifndef __UART_USER_H__
#define __UART_USER_H__

#ifdef __cplusplus
extern "C" {
#endif

/*!
 *\fn			int uart_handle_receive(uint8_t type, void *data)
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
int uart_handle_receive(uint8_t type, void *data);

/*!
 *\fn			int uart_send_cmd(uint8_t mode, uint8_t param, uint8_t value)
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
int uart_send_cmd(uint8_t mode, uint8_t param, uint8_t value);


/*!
 *\fn			int uart_send_ack(uint8_t mode, uint8_t param, uint8_t value)
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
int uart_send_ack(uint8_t mode, uint8_t param, uint8_t value);





#ifdef __cplusplus
}
#endif

#endif	/* __UART_USER_H__ */
